﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoyoEden.Models
{
	/// <summary>
	/// An attachment of a post or a page
	/// </summary>
	[Serializable]
	public struct Attachment
	{
		public string Url { get; set; }
		public bool IsImage { get; set; }
		public string Name { get; set; }
	}
	[Serializable]
	public class Attachments {
		private List<Attachment> _Items;
		public List<Attachment> Items {
			get { return _Items; }
			set { _Items = value; }
		}
		public Attachments() {
			_Items = new List<Attachment>();
		}
	}
}
